package dl.bukkit.myststus.vexshow.sub;

import dl.bukkit.myststus.library.ats.GVexHud;
import dl.bukkit.myststus.vexshow.AbstractVexHud;
import lk.vexview.hud.VexShow;
import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;

import java.util.Collections;
import java.util.List;

@GVexHud(
        folder = "image",
        author = "DogLong"
)
public class Image extends AbstractVexHud {

    public Image(String k, YamlConfiguration section) {
        super(k, section);
    }

    @Override
    public List<VexShow> getVexShowList(Player player, Entity target) {
        return Collections.singletonList(getVexShow(player));
    }
}
